<template>
  <h1>按钮组件</h1>
  <table align="center">
    <el-row class="mb-4">
      <el-button>Default</el-button>
      <el-button type="primary">Primary</el-button>
      <el-button type="success">Success</el-button>
      <el-button type="info">Info</el-button>
      <el-button type="warning">Warning</el-button>
      <el-button type="danger">Danger</el-button>
    </el-row>

    <el-row class="mb-4">
      <el-button plain>Plain</el-button>
      <el-button type="primary" plain>Primary</el-button>
      <el-button type="success" plain>Success</el-button>
      <el-button type="info" plain>Info</el-button>
      <el-button type="warning" plain>Warning</el-button>
      <el-button type="danger" plain>Danger</el-button>
    </el-row>

    <el-row class="mb-4">
      <el-button round>Round</el-button>
      <el-button type="primary" round>Primary</el-button>
      <el-button type="success" round>Success</el-button>
      <el-button type="info" round>Info</el-button>
      <el-button type="warning" round>Warning</el-button>
      <el-button type="danger" round>Danger</el-button>
    </el-row>

    <el-row>
      <el-button :icon="Search" circle />
      <el-button type="primary" :icon="Edit" circle />
      <el-button type="success" :icon="Check" circle />
      <el-button type="info" :icon="Message" circle />
      <el-button type="warning" :icon="Star" circle />
      <el-button type="danger" :icon="Delete" circle />
    </el-row>
  </table>
  <h3>自己的按钮</h3>
  <el-button type="primary" round>主要按钮</el-button>
  <el-button type="danger">危险按钮</el-button>
  <el-button type="success" circle :icon="Delete" ></el-button>
  <el-button type="warning" plain>警告按钮</el-button>
  <h3>不同尺寸</h3>
  <el-button type="primary" size="large" round>主要按钮</el-button>
  <el-button type="primary" round>主要按钮</el-button>
  <el-button type="primary" size="small" round>主要按钮</el-button>
  <h3>禁用按钮</h3>
  <el-button type="primary" disabled round>主要按钮</el-button>

</template>

<script setup>
import {
  Check,
  Delete,
  Edit,
  Message,
  Search,
  Star,
} from '@element-plus/icons-vue'
</script>
